package com.example.flowermall.service;

import com.example.flowermall.entity.Collect;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaoman
 * @since 2023-10-24
 */
public interface ICollectionService extends IService<Collect> {

    List<Collect> getByUserId(Integer userId);

    Collect addCollection(Collect collect);
}
